package com.njym.java.security.app.mapper;

import com.njym.java.security.app.entity.Questiontbl;
import com.njym.java.security.app.entity.QuestiontblVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-03-10 14:13:20
 */
public interface QuestiontblMapper extends Mapper<Questiontbl> {

    /**
     * 通过问卷编号查询问卷对应的问题列表以及答案列表
     * @param code
     * @return
     */
    List<QuestiontblVo> getQuestionAndAnswert(@Param("code") String code,@Param("typetblId") Integer typetblId);
}